#ifndef KUBA_H
#define KUBA_H

#include <QGraphicsPixmapItem>
#include <QPixmap>
#include <QList>
#include "guangbo.h"
class kuba :public QGraphicsPixmapItem
{
public:
    kuba();
    kuba(qreal a,qreal b,qreal x,qreal y,QPixmap p1,QPixmap p2,QPixmap p3,QPixmap p4,bool d,int id=0);
    QRectF boundingRectF();
    qreal l,r,sx,sy;
    QList<QPixmap> pList;
    int Id;


    bool dir;

};

#endif // KUBA_H
